<?php

include('db_connect.php');

echo $query = "INSERT INTO `countries` VALUES(null,'UK')";

$result = mysql_query($query)or die(mysql_error());

$inserted_records = mysql_affected_rows();
$lastInsertId = mysql_insert_id();
echo "\n\n<br>\n\n";

echo "$inserted_records RECORD INSERTED ON ID $lastInsertId";

echo "\n\n<br>\n\n";
